package com.zhentao.service;

import com.zhentao.domain.SExaminationInformation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.domain.dto.*;
import com.zhentao.result.Result;

import java.util.List;

/**
* @author 86150
* @description 针对表【s_examination_information】的数据库操作Service
* @createDate 2024-07-24 19:12:34
*/
public interface SExaminationInformationService extends IService<SExaminationInformation> {


    //添加考试信息
    Result addExaminationInformation(SExaminationInformation examinationInformation);

    //查询考试信息
    Result getExaminationInfoList(SExaminationInformationDto dto);

    //修改考试信息
    Result updateExaminationInformation(SExaminationInformation sExaminationInformation);
    //根据考试信息id获取考试信息
    Result getExaminationInfoById(Integer id);


    List<SExaminationInformationExport> getSExaminationInformationExport();

    Result getTestPaper(Integer id);

    //添加考试信息（自己选题）
    Result addExaminationInformationBySelf(AdSExaminationInformation adSExaminationInformation);

    //发布教学周期日考
    Result addDailyExams(CycleDailyExams cycleDailyExams);

    //根据讲师id查找该讲师带班的对应考试
    Result getExaminationInfoListByTeacherId(Integer tid,SExaminationInformationDto dto);

    Integer getTestNum();
}
